<%@ page contentType="text/html;charset=UTF-8" %>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="layout" content="main" />
    <title>Detalhes - ${usuInstance?.login}</title>
  </head>
  <body>
    <div class="nav">
        <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
    </div>
    <div class="body">
      <div class="dialog">
          <h1>Detalhes da conta</h1>
      </div>
      <div class="dialog">
        <table>
          <tbody>
              <tr class="prop">
                <td valign="top" class="name">${usuInstance?.dono?.class.simpleName.toLowerCase()}</td>
                            
                <td valign="top" class="value">${usuInstance?.dono?.nome.encodeAsHTML()}</td>
                            
              </tr>
              
              <tr class="prop">
                <td valign="top" class="name"><g:message code="usuario.grupo.label" default="Grupo" /></td>
                            
                <td valign="top" class="value">${fieldValue(bean: usuInstance, field: "grupo")}</td>
                            
              </tr>
                    
              <tr class="prop">
                <td valign="top" class="name"><g:message code="usuario.login.label" default="Login" /></td>
                            
                <td valign="top" class="value">${fieldValue(bean: usuInstance, field: "login")}</td>
                            
              </tr>
          </tbody>
        </table>
      </div>
      <div class="buttons">
         <g:form>
             <g:hiddenField name="id" value="${usuInstance?.id}" />
             <span class="button"><g:actionSubmit class="edit" action="admin" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
         </g:form>
     </div>
    </div>
  </body>
</html>
